package cn.bs.mapper;

import cn.bs.domain.dao.Seat;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SeatMapper extends BaseMapper<Seat> {
    List<Seat> getSeatList(Integer canteenId);

    Seat getById(Integer seatId);

    Integer getMaxId();

    void deleteByCanteenId(Integer canteenId);

    Seat getByNum(Integer number, Integer canteenId);

}
